package com.linzp.bishe.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.linzp.bishe.entity.TeachingReward;
import lombok.Data;

/**
 * @ClassName TeachingRewardExcel
 * @Description 描述
 * @Author LinZePeng
 * @Date 2022/2/28 23:30
 * @Version 1.0
 */
@Data
public class TeachingRewardExcel {
	@ExcelProperty("奖项名称")
	private String awardName;

	@ExcelProperty("成果名称")
	private String achievementName;

	@ExcelProperty("证书编号")
	private String certificateNumber;

	@ExcelProperty("级别")
	private String teachingLevel;

	@ExcelProperty("等级")
	private String grade;

	public TeachingReward getTeachingReward(){
		return new TeachingReward()
				.setAwardName(this.awardName)
				.setAchievementName(this.achievementName)
				.setCertificateNumber(this.certificateNumber)
				.setTeachingLevel(this.teachingLevel)
				.setGrade(this.grade);
	}

}
